package com.kanq.pojo.context;

import com.kanq.pojo.entity.KanqAiFile;
import com.kanq.pojo.request.ChatRequest;
import com.kanq.pojo.response.ChatResponse;
import lombok.Data;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.util.List;


/**
 * 责任链上下文类
 */
@Data
public class ChatContext {
    private final ChatRequest request;
    private final SseEmitter emitter;
    private final String taskId;
    private ChatResponse response;
    private List<KanqAiFile> fileWithChunks;
    private String generatedAnswer;
    private List<Long> chunkIds;
    private String chatDirectlyTemplate;
}